From: Andre Klapper Date: Sat, 18 Jan 2020 13:04:16 +0000 (+0100) Subject: Remove two line breaks to make comments for translators get displayed X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~781^2^2~184 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c565186ea87189b62c04db274299686ea33745c4;p=gnome-shell.git Remove two line breaks to make comments for translators get displayed A comment for translators must *immediately* precede a message: https://wiki.gnome.org/TranslationProject/DevGuidelines/Use%20comments These two comments were previously not displayed in any po files. --- diff --git a/js/ui/calendar.js b/js/ui/calendar.js index 9f785e0b0..d0866ddf8 100644 --- a/js/ui/calendar.js +++ b/js/ui/calendar.js @@ -863,12 +863,10 @@ class EventsSection extends MessageList.MessageListSection { let now = new Date(); if (sameYear(this._date, now)) { /* Translators: Shown on calendar heading when selected day occurs on current year */ - dayFormat = Shell.util_translate_time_string(NC_("calendar heading", - "%A, %B %-d")); + dayFormat = Shell.util_translate_time_string(NC_("calendar heading", "%A, %B %-d")); } else { /* Translators: Shown on calendar heading when selected day occurs on different year */ - dayFormat = Shell.util_translate_time_string(NC_("calendar heading", - "%A, %B %-d, %Y")); + dayFormat = Shell.util_translate_time_string(NC_("calendar heading", "%A, %B %-d, %Y")); } this._title.label = this._date.toLocaleFormat(dayFormat); }